import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)


import Home from './views/Home.vue'

export default new Router({
    mode: 'history',
    base: process.env.BASE_URL,
    routes: [
        {
            path: '/',
            name: 'home',
            component: Home
        },
        {
            path: '/auth',
            component: () => import('./views/auth/Auth')
        },
        {
            path: '/life',
            component: () => import('./views/Life')
        },
        {
            path: '/job',
            component: () => import('./views/job/Job')
        },
        {
            path: '/minder',
            component: () => import('./utils/kity-minder/editor/index')
        },
        {
            path: '/ele',
            component: () => import('./views/Ele')
        },
    ]
})
